﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo8
{
    internal class Program
    {
        static void Main(string[] args)
        {
            var number =Convert.ToInt32( Console.ReadLine());
            //Console.WriteLine(number.Length);
            var digitCount = 0;
            if (number == 0)
                digitCount++;
            else
            {
                while (number != 0)
                {
                    number /= 10;
                    digitCount++;
                }
            }
            Console.WriteLine(digitCount+"位数");
            Console.ReadKey();
        }
    }
}
